<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js"></script>
<title>后台管理-后台导航</title>
<style>
body{background-color:#666666;margin:3px;}
h1{color:white;float:left;}
.logo{float:left;margin:0px;width:305px;font-size:35px;}
.logo img{border:0px;}
.right{float:right;padding-top:30px;color:#ccc;}
.right span{color:#FFFFFF;}
.right span.g{color:#00FF00;}
a:link{color:#00FF00;}
a:hover{color:red;}
a:active{color:#FFFF33}
a:visited{color:#FFCC00}
</style>
</head>
<body>
<div class="logo"><a href="?" target="top">棋牌管理后台</a></div>
<div class="right">
	<a href="javascript: loadinfo();">更新</a>
	<span class="g" id="play">0</span>在玩/<span class="g" id="online">0</span>在线
	|
	<span>登录IP: <?php echo $_SERVER['REMOTE_ADDR'] ?></span>
</div>

<script>
function loadinfo() {
	$.getJSON('<?php echo WWWROOT . 'p_admin_plugins/account_manage/?account-get_status';?>', function(d){
		$('#online').html(d.online);
		$('#play').html(d.play);
	});
}
$(document).ready(function(){
	loadinfo();
});
// ('http://218.213.86.197/__mahjong_x/_hookdoor/_datadoor.php?p=facebook&cmd=get_status
</script>
</body>
</html>
